package com.youlin.entities;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;

/**
 * 殡仪馆单位地域表
 */
@NoArgsConstructor
@Data
@Accessors(chain=true)
public class BygArea implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value="区域ID")
    @TableId(value = "area_id", type = IdType.AUTO)
    private Integer areaId;

    private Integer parentId;

    @ApiModelProperty(value="区域名称")
    private String areaName;

    private String areaPinyin;

    private Integer state;

    private Date addTime;

    private String fileName;

}